package com.cloudansys.util.test;

import com.cloudansys.util.main.CloudansysUtils;

public class T1 {

    public static void main(String[] args) {
        System.out.println(CloudansysUtils.NumUtil.getSumOfAbsDouble(1.123, 1.123));

//        Object milliTs = "1610000000111";
//        String stdSecDate = "2021-01-07 14:13:20";
//        String stdMilliDate = "2021-01-07 14:13:20.111";
//        String trimMilliDate = "20210107141320111";
//        String influxSecDate = "2021-01-07T14:13:20+08:00";
//        String influxMilliDate = "2021-01-07T14:13:20.111+08:00";
//        System.out.println(stdSecDate + "=" +CloudansysUtils.DateUtil.stdSecToMilliTs(stdSecDate));
//        System.out.println(stdMilliDate + "=" +CloudansysUtils.DateUtil.stdMilliToMilliTs(stdMilliDate));
//        System.out.println(milliTs + "=" +CloudansysUtils.DateUtil.milliTsToStdSec(milliTs));
//        System.out.println(milliTs + "=" +CloudansysUtils.DateUtil.milliTsToStdMilli(milliTs));
//        System.out.println(trimMilliDate + "=" +CloudansysUtils.DateUtil.trimMilliToStdMilli(trimMilliDate));
//        System.out.println(trimMilliDate + "=" +CloudansysUtils.DateUtil.trimMilliToStdSec(trimMilliDate));
//        System.out.println(trimMilliDate + "=" +CloudansysUtils.DateUtil.trimMilliToMilliTs(trimMilliDate));
//        System.out.println(trimMilliDate + "=" +CloudansysUtils.DateUtil.influxMilliToStdMilli(influxMilliDate));
//        System.out.println(trimMilliDate + "=" +CloudansysUtils.DateUtil.influxSecToStdSec(influxSecDate));
    }

}
